// export default {
//     getItem(key){
//         return localStorage.getItem(key)
//     },
//     setItem(key,value){
//         localStorage.setItem(key,value)
//     },
//     removeItem(key){
//         localStorage.removeItem(key)
//     },
//     clear(){
//         localStorage.clear();
//     }
// }


const TokenKey = 'Admin-Token'

export function getToken() {
    return localStorage.getItem(TokenKey)
}

export function setToken(token) {
    return  localStorage.setItem(TokenKey, token)
}

export function removeToken() {
    return  localStorage.removeItem(TokenKey)
}

export function clear() {
    return  localStorage.clear()
}